package org.example.service.impl;

import org.example.entity.Tag;
import org.example.mapper.TagMapper;
import org.example.service.TagService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

/**
 * @ClassName TagServiceImpl
 * @Description TODO
 * @Author yuezhijie
 * @Date 2025年08月14日 19:52
 * @Version 1.0
 */
@Service
public class TagServiceImpl implements TagService {
    @Autowired
    private TagMapper tagMapper;


    @Override
    public List<Tag> getTagById(int id) {
        List<Tag> tagById = tagMapper.getTagById(id);
        return tagById;
    }

    @Override
    public List<Tag> findTagById(int id) {
        List<Tag> tagById = tagMapper.findTagById(id);
        return tagById;
    }


}
